package com.warm.base.jdk.reflect;

import lombok.Data;

import java.util.List;

/**
 * @Description TODO
 * @Author iyb-liangchuang
 * @Date 2021/3/30 9:41
 */
@Data
public class ReflectObj {
    private String name;
    private String desc;
    private Integer a;
    private Integer b;
    private Integer result;
    private List<String> hobby;

    public ReflectObj(){

    }

    public ReflectObj(String name){
        this.name = name;
    }

    public Integer add(){
        return this.a + this.b;
    }

    private Integer sub(Integer sub){
        return sub;
    }
}
